<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script>
        var i = 1;
        setInterval(function(){
            console.log("hello"+i);
            i++;
        },1000)

    </script>
</body>
</html>